package com.dailyblue.java.spring.cloud.example.commons;

import com.dailyblue.java.spring.cloud.example.commons.bean.User;
import com.dailyblue.java.spring.cloud.example.commons.util.JwtConfig;

public class A {
    public static void main(String[] args) {
        User user = new User();
        user.setId(1);
        user.setNickName("Johe");
        String jwt = JwtConfig.getJwtToken(user);
        System.out.println(jwt);
    }
}
